package com.object.model.execute.impl;

import com.object.model.ModelBeanName;
import com.object.model.execute.ModelExecute;
import com.object.module.lq.sys.entity.TUserEntity;
import com.object.module.lq.sys.service.TUserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author Li Qing
 * date: 2025/7/17 18:27
 * description:
 */
@Service(ModelBeanName.GET_USER_TOOL)
public class GetUserTool implements ModelExecute {
    @Resource
    private TUserService userService;

    @Override
    public String execute(String jsonStr) {
        List<TUserEntity> list = userService.list();
        return objConvertStr(list);
    }
}
